<?php require_once SITE_ROOT . "/mod/default/main.inc.php"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title><?php echo $seo['title'];?></title>
<?php if(isset($seo['keywords'])){ ?><meta name="keywords" content="<?php echo $seo['keywords'];?>" /><?php }?>
<?php if(isset($seo['description'])){ ?><meta name="description" content="<?php echo $seo['description'];?>" /><?php }?>
<link href="<?=$tplpath?>/skin/b974904f.css"rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?=$tplpath?>/js/883ece63.js"></script>
<script type="text/javascript" src="<?=$tplpath?>/js/d9e8f325.js"></script>
<script type="text/javascript" src="<?=$tplpath?>/js/599ba913.js"></script>
<script type="text/javascript" src="<?=$tplpath?>/js/3e6f85e9.js"></script>
<!-reload-!>
<script type="text/javascript" src="http://cbjs.baidu.com/js/m.js"></script>
<script type="text/javascript" src="<?=SITE_PATH."/templates/default/uaredirect.js"?>"></script>
<script type="text/javascript">uaredirect("http://<?=$site_url . $site_path?>/m/");</script>
</head>
<body style='background:rgb(122,143,64) url(<?=$tplpath?>/skin/9e55870a.gif) repeat-x scroll 50% 0%'>
<script>
var PDV_PAGEID='1'; 
var PDV_RP=''; 
var PDV_COLTYPE='index'; 
var PDV_PAGENAME='index'; 
</script>
<div id='contain' style='width:1002px;background:none transparent scroll repeat 0% 0%;margin:0px auto;padding:0px'>
  <div id='top' style='width:1002px;height:421px;background:url(<?=$tplpath?>/skin/8c24d0d5.gif)'> 
    
    <!-- 图片/FLASH -->
    
    <div id='pdv_15007' class='pdv_class'  title='' style='width:1002px;height:301px;top:120px;left:0px; z-index:3'>
      <div id='spdv_15007' class='pdv_top' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px  solid;background:;">
          <div style="height:25px;margin:1px;display:none;background:;">
            <div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:"> </div>
            <div style="float:right;margin-right:10px;display:none"> <a href="#" style="line-height:25px;color:">更多</a> </div>
          </div>
          <div style="padding:0px"> <img src="<?=$tplpath?>/skin/4caf77e2.png" border="0" width="100%" /> </div>
        </div>
      </div>
    </div>
    
    <!-- 头部图片轮播 -->
    
    <div id='pdv_14528' class='pdv_class'  title='' style='width:996px;height:300px;top:120px;left:3px; z-index:5'>
      <div id='spdv_14528' class='pdv_top' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px  solid;background:;">
          <div style="height:25px;margin:1px;display:none;background:;">
            <div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:"> </div>
            <div style="float:right;margin-right:10px;display:none"> <a href="#" style="line-height:25px;color:">更多</a> </div>
          </div>
          <div style="padding:0px">
            <link href="<?=$tplpath?>/skin/37e1e755.css"rel="stylesheet" type="text/css" />
            <script type=text/javascript src="<?=$tplpath?>/js/9e1bcb03.js"></script>
            <div id='advsheadlb'> 
            	<a href='<?=@_e($tpl_banner_1_link, "http://{$site_url}{$site_path}")?>' title='' target='_blank'><img src="<?=SITE_PATH . '/' . @thumb(_e($tpl_banner_1, "templates/{$skinid}/skin/ad1.jpg"), 996, 300)?>" width='996' height='300' border='0' class='advsheadlbpic' id='advsheadlbpic_0'> </a>
                <a href='<?=@_e($tpl_banner_2_link, "http://{$site_url}{$site_path}")?>' title='' target='_blank'><img src="<?=SITE_PATH . '/' . @thumb(_e($tpl_banner_2, "templates/{$skinid}/skin/ad2.jpg"), 996, 300)?>" width='996' height='300'  border='0' class='advsheadlbpic' id='advsheadlbpic_1'> </a>
                <a href='<?=@_e($tpl_banner_3_link, "http://{$site_url}{$site_path}")?>' title='' target='_blank'><img src="<?=SITE_PATH . '/' . @thumb(_e($tpl_banner_3, "templates/{$skinid}/skin/ad3.jpg"), 996, 300)?>"  width='996' height='300' border='0' class='advsheadlbpic' id='advsheadlbpic_2'> </a>
            </div>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 图片/FLASH -->
    
    <div id='pdv_13610' class='pdv_class'  title='' style='width:1002px;height:43px;top:77px;left:0px; z-index:6'>
      <div id='spdv_13610' class='pdv_top' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px  solid;background:;">
          <div style="height:25px;margin:1px;display:none;background:;">
            <div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:"> </div>
            <div style="float:right;margin-right:10px;display:none"> <a href="#" style="line-height:25px;color:">更多</a> </div>
          </div>
          <div style="padding:0px"> <img src="<?=$tplpath?>/skin/4c4789e0.jpg" border="0" width="100%" /> </div>
        </div>
      </div>
    </div>
    
    <!-- 一级导航菜单 -->
    
    <div id='pdv_10994' class='pdv_class'   style='width:729px;height:40px;top:80px;left:22px; z-index:7'>
      <div id='spdv_10994' class='pdv_top' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px  solid;background:;">
          <div style="height:25px;margin:1px;display:none;background:;">
            <div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:"> 导航菜单 </div>
            <div style="float:right;margin-right:10px;display:none"> <a href="#" style="line-height:25px;color:">更多</a> </div>
          </div>
          <div style="padding:0px">
            <link href="<?=$tplpath?>/skin/303d1768.css"rel="stylesheet" type="text/css" />
            <div id="menumain">
              <div class="mainmenuiner"> 
           	 	<a href="<?php echo SITE_PATH . '/';?>"  target="_self" class="menumain" style="background:url(<?=$tplpath?>/skin/96a3ca61.jpg) 0px 0px no-repeat;">网站首页</a>         
			  	<?php foreach($system_tree_category as $k => $v) {?>
             	<a href="<?=$v['category_link']?>"  target="_self" class="menumain"><?=$v['name']?></a>
              	<?php }?>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 网站标志 -->
    
    <div id='pdv_10806' class='pdv_class'  title='' style='width:348px;height:49px;top:20px;left:28px; z-index:10'>
      <div id='spdv_10806' class='pdv_top' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px  solid;background:;">
          <div style="height:25px;margin:1px;display:none;background:;">
            <div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:"> </div>
            <div style="float:right;margin-right:10px;display:none"> <a href="#" style="line-height:25px;color:">更多</a> </div>
          </div>
          <div style="padding:0px"> <a href="<?php echo SITE_PATH . '/';?>"><img src="<?=SITE_PATH . '/' . @thumb(_e("{$tpl_logo}",  "{$logofile}", "templates/{$skinid}/skin/logo.png"), 334, 39)?>"border="0" /></a> </div>
        </div>
      </div>
    </div>
    
    <!-- 全站搜索表单 -->
    
    <div id='pdv_14084' class='pdv_class'  title='全站搜索' style='width:215px;height:33px;top:93px;left:760px; z-index:15'>
      <div id='spdv_14084' class='pdv_top' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px  solid;background:;">
          <div style="height:25px;margin:1px;display:none;background:;">
            <div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:"> 全站搜索 </div>
            <div style="float:right;margin-right:10px;display:none"> <a href="#" style="line-height:25px;color:">更多</a> </div>
          </div>
          <div style="padding:0px">
            <link href="<?=$tplpath?>/skin/cd80d34a.css"rel="stylesheet" type="text/css" />
            <script language="javascript" src="<?=$tplpath?>/js/39cb2e36.js"></script>
            <div class="globalsearchformzone">
              <form id="globalsearchform" method="post" action="<?=SITE_PATH?>/?article_search.html">
                <div class="globalsearchform">
                  <input name="keywords" type="text" id="globalsearchform_key" value="" class="input" />
                </div>
                <div class="globalsearchform1">
                  <input name="imageField" id="button" type="image" src="<?=$tplpath?>/skin/7d694c17.jpg" class="imgbutton" />
                </div>
              </form>
            </div>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 图片/FLASH -->
    
    <div id='pdv_14529' class='pdv_class'  title='' style='width:263px;height:29px;top:25px;left:726px; z-index:16'>
      <div id='spdv_14529' class='pdv_top' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px  solid;background:;">
          <div style="height:25px;margin:1px;display:none;background:;">
            <div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:"> </div>
            <div style="float:right;margin-right:10px;display:none"> <a href="#" style="line-height:25px;color:">更多</a> </div>
          </div>
          <div style="padding:0px"> <img src="<?=$tplpath?>/skin/a2913ec7.png" border="0" width="100%" /> </div>
        </div>
      </div>
    </div>
    
    <!-- 设为首页加入收藏 -->
    
    <div id='pdv_14530' class='pdv_class'   style='width:247px;height:33px;top:29px;left:750px; z-index:17'>
      <div id='spdv_14530' class='pdv_top' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px  solid;background:;">
          <div style="height:25px;margin:1px;display:none;background:;">
            <div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:"> </div>
            <div style="float:right;margin-right:10px;display:none"> <a href="#" style="line-height:25px;color:">更多</a> </div>
          </div>
          <div style="padding:0px">
            <div style="height:40px"> <img src="<?=$tplpath?>/skin/14f25d5f.jpg" border="0" style="margin:0px 2px 0px 0px;vertical-align:middle;" /> <a href="http://<?php echo $home . SITE_PATH;?>" style="color:#b7b6b8;padding-right:4px;font:12px/22px Simsun;" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('<?php echo $home . SITE_PATH;?>'); return(false);">设为首页</a> <img src="<?=$tplpath?>/skin/4de3ea22.jpg" border="0" style="margin:0px 2px 0px 1px;vertical-align:middle;" /> <a href="http://<?php echo $home . SITE_PATH;?>" style="color:#b7b6b8;padding-right:4px;font:12px/22px Simsun;" onClick="window.external.addFavorite('http://<?php echo $home . SITE_PATH;?>','<?=$company_name?>'); return(false);">加入收藏</a> <img src="<?=$tplpath?>/skin/5d09ae2b.jpg" border="0" style="margin:0px 2px 0px 1px;vertical-align:middle;" /> <a href="mailto:<?=$company_email?>" style="color:#b7b6b8;padding-right:0px;font:12px/22px Simsun;">联系我们</a> </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div id='content' style='width:1002px;height:529px;background:url(<?=$tplpath?>/skin/73162275.jpg) repeat-y;margin:0px auto'> 
    
    <!-- 图片/FLASH -->
    
    <div id='pdv_13618' class='pdv_class'  title='' style='width:996px;height:529px;top:0px;left:3px; z-index:1'>
      <div id='spdv_13618' class='pdv_content' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px  solid;background:;">
          <div style="height:25px;margin:1px;display:none;background:;">
            <div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:"> </div>
            <div style="float:right;margin-right:10px;display:none"> <a href="#" style="line-height:25px;color:">更多</a> </div>
          </div>
          <div style="padding:0px"> <img src="<?=$tplpath?>/skin/877254ee.jpg" border="0" width="100%" /> </div>
        </div>
      </div>
    </div>
    
    <!-- 空白边框 -->
    
    <div id='pdv_14532' class='pdv_class'  title='' style='width:216px;height:50px;top:40px;left:752px; z-index:2'>
      <div id='spdv_14532' class='pdv_content' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="border:0px;height:100%;padding:0;margin:0;">
          <div style="height:44px;border:0px;padding:0;margin:0;background:url(<?=$tplpath?>/skin/81c4465c.jpg) 0px 0px no-repeat;">
            <div style="float:right;width:31px;height:44px;background:url(<?=$tplpath?>/skin/81c4465c.jpg) -969px 0px no-repeat;"> <!--<a href="2200f2b4.html" style="display:inline;"><img src="<?=$tplpath?>/skin/2f57c409.jpg" style="border:0px;padding-top:8px;" /></a> --></div>
          </div>
          <div style="margin:0px;padding:0px;"> &nbsp; </div>
        </div>
      </div>
    </div>
    
    <!-- 联系我们 -->
    
    <div id='pdv_15008' class='pdv_class'  title='' style='width:216px;height:168px;top:84px;left:752px; z-index:4'>
      <div id='spdv_15008' class='pdv_content' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px  solid;background:;">
          <div style="height:25px;margin:1px;display:none;background:;">
            <div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:"> </div>
            <div style="float:right;margin-right:10px;display:none"> <a href="" style="line-height:25px;color:">更多</a> </div>
          </div>
          <div style="padding:0px">
            <link href="<?=$tplpath?>/skin/4cfe9430.css" rel="stylesheet" type="text/css" />
            <div class="viewlist">
              <div class="fang" style="width:214px;height:167px">
                <div class="picFit" style="width:214px;height:167px"> 
                	<div class="picFit" style="width:214px;height:167px"> <?php echo tpl_media_pay('myFlv', @_e($banner_flv, 'http://skin.php.net.cn/default/xsite.flv'), 214, 167); ?> </div>
                </div>
              </div>
              <!--<div class="title"> <a href="37764db6.html" target="_self" class="title"   >公司视频</a> </div> -->
            </div>
          </div>
        </div>
      </div>
    </div>
    
    <!-- HTML编辑区 -->
    
    <div id='pdv_12543' class='pdv_class'  title='' style='width:324px;height:290px;top:40px;left:38px; z-index:12'>
      <div id='spdv_12543' class='pdv_content' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="border:0px;height:100%;padding:0;margin:0;">
          <div style="height:40px;border:0px;padding:0;margin:0;background:url(<?=$tplpath?>/skin/e8fb944d.jpg) 0px 0px no-repeat;">
            <div style="float:right;width:31px;height:40px;background:url(<?=$tplpath?>/skin/e8fb944d.jpg) -969px 0px no-repeat;"> <a href="<?php echo @_e($p1_link, "http://www.php.net.cn");?>" style="display:inline;"><img src="<?=$tplpath?>/skin/40bc8805.jpg" style="border:0px;padding-top:8px;" /></a></div>
          </div>
          <div style="margin:0px;padding:0px;">
            <div style="PADDING-RIGHT: 0px; PADDING-TOP: 2px"><img style="PADDING-LEFT: 10px; FLOAT: right" border="0" alt="" src="<?=SITE_PATH . '/' . @thumb(_e("{$p1_img}", "templates/{$skinid}/skin/ad_p1.jpg"), 134, 91)?>" width="134" height="91" />
              <div style="PADDING-BOTTOM: 14px; FONT: 12px/23px simsun; COLOR: #2e2e2e">&nbsp;&nbsp;&nbsp; <?php echo @_e($p1, "请通过：网站后台>> 网站首页设置 >> 编辑对应内容");?></div>
            </div>
          </div>
        </div>
      </div>
    </div>
    
    
    <?php /*从后台的首页设置中调用分类ID,如果调用不到，就随机显示。*/ ?>
    <?php if(!isset($index_cat2) || $system_category[$index_cat2]['module'] != 'article'){
		$index_cat2 = array();
		foreach ($system_category as $k => $v) {
			/*必须是文章模型*/
			if ($v['module'] == 'article') {
				$index_cat2[] = $k;
			}
		}
		//随机调用一产品模型
		$catid = $index_cat2[array_rand($index_cat2)];
	} else {
		$catid = $index_cat2;
	}
	?>
    <!-- 文章图片+标题+摘要 -->
    
    <div id='pdv_13612' class='pdv_class'  title='' style='width:332px;height:150px;top:40px;left:392px; z-index:13'>
      <div id='spdv_13612' class='pdv_content' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="border:0px;height:100%;padding:0;margin:0;">
          <div style="height:42px;border:0px;padding:0;margin:0;background:url(<?=$tplpath?>/skin/439eb6dc.jpg) 0px 0px no-repeat;">
            <div style="float:right;width:31px;height:42px;background:url(<?=$tplpath?>/skin/439eb6dc.jpg) -969px 0px no-repeat;"> <a href="<?=$system_category[$catid]['category_link']?>" style="display:inline;"><img src="<?=$tplpath?>/skin/0f2c333b.jpg" style="border:0px;padding-top:8px;" /></a></div>
          </div>
          <div style="margin:0px;padding:0px;">
            <link href="<?=$tplpath?>/skin/5d5825d5.css"rel="stylesheet" type="text/css" />
            <ul class="newspicmemo">
              <?php $data = tpl_article_list("category={$catid}&limit=1&ptitle=1&sort=DESC");  $list = $data['list']; ?>
              <?php if(is_array($list) && count($list) ) {?>
              	 <?php foreach ($list as $k => $v) { $data = tpl_article_details("key={$v['key']}&category={$v['category']}");?>
                      <li>
                        <div class="picFit" style="width:135px;height:91px"> <a href="<?=$v['html_link']?>" target="_self" ><img src="<?php echo SITE_PATH . '/' . thumb($v['ptitle'], 135, 91); ?>" border="0" style="width:135px;height:91px" /></a> </div>
                        <div class="tm">
                          <div class="memo"> <?=_e(str_sub($data['body_title'], 130, '…'), '没有添加内容，你可以在后台编辑这篇文章')?> </div>
                        </div>
                      </li>
              	 <?php }?>
              <?php } else { ?>
                  <li>
                    <div class="picFit" style="width:135px;height:91px"> <a href="203cb919.html" target="_self" ><img src="<?=$tplpath?>/skin/a9a018c8.jpg" border="0" style="width:135px;height:91px" /></a> </div>
                    <div class="tm">
                      <div class="memo"> 你好，此内没有你想要显示的内容，请在后台的文章管理中添加一篇带缩图标题的文章，这儿才能显示。 </div>
                    </div>
                  </li>
              <?php }?>
            </ul>
            <script>
			$(function() {
			$().picFit("auto");
			});
			</script> 
          </div>
        </div>
      </div>
    </div>
    
    <!-- 文章列表 -->
    
    <div id='pdv_13614' class='pdv_class'  title='' style='width:332px;height:117px;top:198px;left:392px; z-index:14'>
      <div id='spdv_13614' class='pdv_content' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px  solid;background:;">
          <div style="height:25px;margin:1px;display:none;background:;">
            <div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:"> </div>
            <div style="float:right;margin-right:10px;display:inline"> <a href="news/class/" style="line-height:25px;color:">更多</a> </div>
          </div>
          <div style="padding:0px">
            <link href="<?=$tplpath?>/skin/cf129224.css"rel="stylesheet" type="text/css" />
            <ul class="newslist_time">
            
            <?php if(array_key_exists($catid, $system_category) && $system_category[$catid]['module'] == 'article'){ 
						$data = tpl_article_list("category={$catid}&limit=4");  $list = $data['list'];
						if(is_array($list) && count($list) ) {
							foreach($list as $k => $v) {?>
                              <li class="newslist_time">
                                <div class="time"><?=date("m/d", $k)?></div>
                                <a href="<?=$v['html_link']?>" target="_self" class="newslist_time"   ><?=@_e($v['body_name'], '没有名字')?></a>
                              </li>
                            <?php }?>
						<?php } else {?>
                            <li class="newslist_time"><a href="#" target="_self" class="newslist_time">该模分类还没有数据，请在后台添加。</a>  </li>
                        <?php } ?>
            <?php } else {?>
               	<li class="newslist_time"><a href="#" target="_self" class="newslist_time">该模分类还没有数据，请在后台添加。</a>  </li>
            <?php } ?>
            </ul>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 图片/FLASH -->
    
    <div id='pdv_14086' class='pdv_class'  title='' style='width:214px;height:53px;top:262px;left:752px; z-index:18'>
      <div id='spdv_14086' class='pdv_content' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px  solid;background:;">
          <div style="height:25px;margin:1px;display:none;background:;">
            <div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:"> </div>
            <div style="float:right;margin-right:10px;display:none"> <a href="#" style="line-height:25px;color:">更多</a> </div>
          </div>
          <div style="padding:0px"> <a href="#"><img src="<?=$tplpath?>/skin/ae1b9d10.jpg" border="0" width="100%" /></a> </div>
        </div>
      </div>
    </div>
    
    
    <?php /*从后台的首页设置中调用分类ID,如果调用不到，就随机显示。*/ ?>
    <?php if(!isset($index_cat1) || $system_category[$index_cat1]['module'] != 'product'){
		$index_cat1 = array();
		foreach ($system_category as $k => $v) {
			/*必须是产品模型*/
			if ($v['module'] == 'product') {
				$index_cat1[] = $k;
			}
		}
		//随机调用一产品模型
		$catid = $index_cat1[array_rand($index_cat1)];
	} else {
		$catid = $index_cat1;
	}
	?>
    <!-- 自选产品列表 -->
    
    <div id='pdv_15009' class='pdv_class'  title='最新产品' style='width:929px;height:160px;top:346px;left:38px; z-index:19'>
      <div id='spdv_15009' class='pdv_content' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px  solid;background:;">
          <div style="height:25px;margin:1px;display:none;background:;">
            <div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:"> 最新产品 </div>
            <div style="float:right;margin-right:10px;display:inline"> <a href="product/class/" style="line-height:25px;color:">更多</a> </div>
          </div>
          <div style="padding:0px">
            <link href="<?=$tplpath?>/skin/225b3ca5.css"rel="stylesheet" type="text/css" />
            <div class="productlist_cyrano_lef">
              <div id="demo">
                <table align=left cellpadding=0 cellspace=0 border=0>
                  <tr>
                    <td id="demo1" valign=top><table border=0 cellpadding=0 cellspacing=0>
                        <tr>

							<?php if(array_key_exists($catid, $system_category) && $system_category[$catid]['module'] == 'product'){ 
                                        $data = tpl_product_list("category={$catid}&limit=8&depth=1&status=8");  $list = $data['list'];
                                        if(is_array($list) && count($list) ) {
                                            foreach($list as $k => $v) {?>

                                            <td>
                                                <div class="fang" style="width:180px;height:135px">
                                                    <div class="picFit" style="width:180px;height:135px"> <a href="<?=$v['html_link']?>" target="_self" ><img src="<?php echo SITE_PATH . "/"  . thumb($v['ptitle'], 180, 135);?>" style="width:180px;height:135px;" border="0" /></a> </div>
                                                </div>
                                                <div class="title"> <a href="<?=$v['html_link']?>" target="_self" class="title"   ><?=_e(str_sub($v['name'], 15, '…'), "没有名字")?></a> </div>
                                            </td>

                                            <?php }?>
                                        <?php } else {?>
                                            <td><a href="#" target="_self" class="">该模分类还没有数据，请在后台添加。</a> </td>
                                        <?php } ?>
                            <?php } else {?>
                                <td><a href="#" target="_self" class="">未正确选择分类</a> </td>
                            <?php } ?>
            
                        </tr>
                      </table></td>
                    <td id="demo2" valign=top></td>
                  </tr>
                </table>
              </div>
            </div>
            <script>
			$(function() {
			$().picFit("auto");
			});
			</script> 
						<script>
				var speed=20;
				var GD=document.getElementById('demo'); 
				var GD1=document.getElementById('demo1');
				var GD2=document.getElementById('demo2');
				GD2.innerHTML=GD1.innerHTML;
				function Marquee(){
					if(GD2.offsetWidth-GD.scrollLeft<=0){
						GD.scrollLeft-=GD1.offsetWidth;
					}else{
						GD.scrollLeft++;
					}
				}
				var MyMar=setInterval(Marquee,speed);
				GD.onmouseover=function() {clearInterval(MyMar);}
				GD.onmouseout=function() {MyMar=setInterval(Marquee,speed);}
			</script> 
          </div>
        </div>
      </div>
    </div>
  </div>
  <div id='bottom' style='width:1002px;height:50px;background:url(<?=$tplpath?>/skin/73162275.jpg)'> 
    
    <!-- 图片/FLASH -->
    
    <div id='pdv_10801' class='pdv_class'  title='' style='width:1002px;height:50px;top:0px;left:0px; z-index:8'>
      <div id='spdv_10801' class='pdv_bottom' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px  solid;background:;">
          <div style="height:25px;margin:1px;display:none;background:;">
            <div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:"> </div>
            <div style="float:right;margin-right:10px;display:none"> <a href="#" style="line-height:25px;color:">更多</a> </div>
          </div>
          <div style="padding:0px"> <img src="<?=$tplpath?>/skin/8e69c792.jpg" border="0" width="100%" /> </div>
        </div>
      </div>
    </div>
    
    <!-- 底部菜单（一级） -->
    
    <div id='pdv_10813' class='pdv_class'   style='width:398px;height:21px;top:6px;left:5px; z-index:9'>
      <div id='spdv_10813' class='pdv_bottom' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px  solid;background:;">
          <div style="height:25px;margin:1px;display:none;background:;">
            <div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:"> 脚注栏目 </div>
            <div style="float:right;margin-right:10px;display:none"> <a href="#" style="line-height:25px;color:">更多</a> </div>
          </div>
          <div style="padding:0px">
            <link href="<?=$tplpath?>/skin/1679b43f.css"rel="stylesheet" type="text/css" />
            <div id="bottommenu">
			<?php if (is_array($swap_text_links) && count($swap_text_links) ) {?>
            	| <a href="<?=$site_path?>/archives/" target="_blank">Archives</a> | <?php foreach($swap_text_links as $k => $v) {?> <a href="<?=$v['href']?>" target="_blank"><?=$v['name']?></a>| <?php }?> 
            <?php }else{ ?>
				| <?php foreach($system_tree_category as $k => $v) {?> <a href="<?=$v['category_link']?>" target="_self"><?=$v['name']?></a>| <?php }?> 
            <?php }?>
            
            </div>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 底部信息编辑区 -->
    
    <div id='pdv_10807' class='pdv_class'  title='脚注信息' style='width:420px;height:24px;top:9px;left:556px; z-index:11'>
      <div id='spdv_10807' class='pdv_bottom' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px  solid;background:;">
          <div style="height:25px;margin:1px;display:none;background:;">
            <div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:"> 脚注信息 </div>
            <div style="float:right;margin-right:10px;display:none"> <a href="#" style="line-height:25px;color:">更多</a> </div>
          </div>
          <div style="padding:0px">
            <div style="width:100%;text-align:center;font:12px/20px Arial, Helvetica, sans-serif">
              <div style="TEXT-ALIGN: center; LINE-HEIGHT: 24px; MARGIN: 0px; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; COLOR: #ffffff">Copyright&copy;  <?=$company_name?>， <script language="javascript" type="text/javascript">document.write('<a href="http://www.miibeian.gov.cn" target="_blank"><?=$website_icp?></a>');</script></div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
<script type="text/javascript">BAIDU_CLB_fillSlot("665944");</script>
<div id='bodyex'> </div>
<?php if(!empty($site_bgsound)){echo tpl_media_pay('mySound', $site_bgsound, 1, 1);  }?>
<?php if(is_array($online_service) && count($online_service)){ include "{$site_dir}/templates/default/online_service.tpl.php"; }?>
<?php if(!empty($stat_code)){ ?><div style="display:none"><?=$stat_code?></div><?php }?>

<noscript> <a href="http://www.winpc.cn">win7</a> </noscript>
</body>
</html>
